package com.manage.platform.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.Null;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * YWD
 * 2025/9/19
 */
@Accessors(chain = true)
@Data
public class ProfessionalTitleDto implements Serializable {

    @Schema(description = "职称ID,修改必传")
    private Long id;

    @Null
    @Schema(description = "用户ID,不传", hidden = true)
    private Long userId;

    @Schema(description = "职称编码")
    private String code;

    @Schema(description = "职称名称")
    private String name;

    @Schema(description = "职称类别(教学科研/实验技术/工程技术/图书资料)")
    private String category;

    @Schema(description = "职称等级(1:初级,2:中级,3:高级,4:正高级)")
    private Integer level;

    @Schema(description = "备注")
    private String remark;

    @Schema(description = "状态(0:禁用,1:启用)")
    private Integer status;

}
